Regexp on strings with EOLs

Having trouble using repeated regexp on strings with EOLs.

I see the "^" operator means "beginning of string or line". Wiki says "\A" should mean just "beginning of string" but seems not to work in DXL.

I'm trying to find all the occurances of a pattern and it seems I must first chop up the text into individual paragraphs.

-Louie
llandale - Thu Jan 24 12:55:35 EST 2013

Re: Regexp on strings with EOLs
llandale - Thu Jan 24 15:20:54 EST 2013

Solved my immediate problem, finding the location of the end of the 1st match with "end(1)"; so I don't have to break up the string. But the question remains, is there a "Beginning of string (not line)" in DXL?

Re: Regexp on strings with EOLs
SystemAdmin - Fri Jan 25 04:32:52 EST 2013

llandale - Thu Jan 24 15:20:54 EST 2013
Solved my immediate problem, finding the location of the end of the 1st match with "end(1)"; so I don't have to break up the string. But the question remains, is there a "Beginning of string (not line)" in DXL?

I don't think there is...I've always chopped up the processing of a string with EOLs with a loop like the following:

Regexp aLine = regexp ".*"
while (aLine(theString) && (theString != ""))
{
    string theLine = theString[match 0]
    // process theLine here
    theString = theString[((end 0)+2):] // move past the newline
}